<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .first {
            margin: 0 auto;
            width: 800px;
            height: 640px;
            background-color: #333;
            position: relative;
            top: 50px;
        }
        .second {
            width: 780px;
            height: 600px;
            background-color: #666;
            border: 2px solid rgba(218, 192, 192, 0.5);
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        .title {
            height: 50px;
            line-height: 50px;
            color: #fff;
            font-size: 30px;
            font-weight: 700;
            text-align: center;
            margin: 25px auto;
        }
        .photo {
            box-sizing: content-box;
            border: 1.5px solid #fff;
            background: #000;
            height: 375px;
            width: 500px;
            position: absolute;
            left:25px;
            overflow: hidden;
        }
        .photos {
            width: 175px;
            height: 375px;
            position: absolute;
            right: 0px;
            overflow: auto;
        }
        .photo img {
            height: 375px;
            width: auto;
        }
        .photos img {
            box-sizing: content-box;
            height: 80px;
            width: auto;
            margin: 5px;
            border: 1px solid #fff;
        }
    </style>
</head>
<body>
    <div class="first">
        <div class="second">
            <p class="title">电子相册</p>
            <div class="photo">
                <img src="./images/video-01.jpg" id="1">
                <img src="./images/video-02.jpg" id="2">
                <img src="./images/video-03.jpg" id="3">
                <img src="./images/video-04.jpg" id="4">
            </div>
            <div class="photos">
                <a href="#1"><img src="./images/video-01.jpg"></a>
                <a href="#2"><img src="./images/video-02.jpg"></a>
                <a href="#3"><img src="./images/video-03.jpg"></a>
                <a href="#4"><img src="./images/video-04.jpg"></a>
            </div>
        </div>
    </div>
</body>
</html>